ImageGear Professional DLL for Windows
DWF
This section provides information about the following:

DWF Features Supported for Reading

ImageGear uses DWFToolkit for reading DWF file contents. The following tables use DWFToolkit terms to list DWF features supported by ImageGear:

2D Features

DWF Toolkit Object

Supported Attributes

Imported into ImageGear as:

WT_Polygon

Vertices

IG_VECT_ENT_POLYLINE entity.

WT_Polyline

Vertices

IG_VECT_ENT_POLYLINE entity.

WT_Color

RGBA color

Current color for creating IG_VECT_ENT_ATTR_DRAWCOLOR, IG_VECT_ENT_ATTR_FILLCOLOR attributes and a color of HIG_VECT_TEXTOBJ object.

WT_Background

RGBA color

Background color for HIG_VECT_VIEW object.

WT_Text

Text string

Bounds

Position

IG_VECT_ENT_TEXT entity.

WT_Text_HAlign

Horizontal alignment

Horizontal alignment for IG_VECT_ENT_TEXT entity.

WT_Text_VAlign

Vertical alignment

Vertical alignment for IG_VECT_ENT_TEXT entity.

WT_Font

Font name

Font height

Font rotation

Font spacing

Font width scale

Font is bold flag

Font is italic flag

Font is underlined flag

Used for creating HIG_VECT_FONT object.

WT_Line_Weight

Weight

Used as a thickness when creating IG_VECT_ENT_ATTR_THICKNESS attribute.

WT_Fill

Fill mode

Used internally to turn filling mode on/off.

WT_Filled_Ellipse

Start angle

End angle

Rotation

Major axe

Minor axe

Center X position

Center Y position

Either IG_VECT_ENT_ELLIPSE or IG_VECT_ENT_ARC entity.

WT_Outline_Ellipse

Start angle

End angle

Rotation

Major axe

Minor axe

Center X position

Center Y position

Either IG_VECT_ENT_ELLIPSE or IG_VECT_ENT_ARC entity.

WT_Polytriangle

Vertices

IG_VECT_ENT_GEOMETRY entity.

WT_Visibility

Visibility

Affects the visibility of entities.

3D Features

DWF Toolkit Object

Supported Attributes

Imported into ImageGear as:

Color

Diffuse color

Color for creating IG_VECT_ENT_ATTR_DRAWCOLOR, IG_VECT_ENT_ATTR_FILLCOLOR attributes and a color of HIG_VECT_TEXTOBJ object.

Color_RGB

RGB value

Color for creating IG_VECT_ENT_ATTR_DRAWCOLOR, IG_VECT_ENT_ATTR_FILLCOLOR attributes and a color of HIG_VECT_TEXTOBJ object.

Color_By_Value

Value

Color for creating IG_VECT_ENT_ATTR_DRAWCOLOR, IG_VECT_ENT_ATTR_FILLCOLOR attributes and a color of HIG_VECT_TEXTOBJ object. Color value is converted into RGB.

Color_By_Index

Index

Color for creating IG_VECT_ENT_ATTR_DRAWCOLOR, IG_VECT_ENT_ATTR_FILLCOLOR attributes and a color of HIG_VECT_TEXTOBJ object. Color value is converted into RGB.

Color_By_Index_16

Index

Color for creating IG_VECT_ENT_ATTR_DRAWCOLOR, IG_VECT_ENT_ATTR_FILLCOLOR attributes and a color of HIG_VECT_TEXTOBJ object. Color value is converted into RGB.

Color_By_FIndex

Index

Color for creating IG_VECT_ENT_ATTR_DRAWCOLOR, IG_VECT_ENT_ATTR_FILLCOLOR attributes and a color of HIG_VECT_TEXTOBJ object. Color value is converted into RGB.

Color_Map

Color values

Used to get an actual color value by index.

View

Target

Position

Up vector

Transformation matrix of HIG_VECT_VIEW object.

Modelling_Matrix

4x4 matrix

Transformation for entities.

Open_Segment

Segment name

IG_VECT_ENT_BLOCK and IG_VECT_ENT_INSERT entities. IG_VECT_ENT_INSERT references IG_VECT_ENT_BLOCK.

The block is set as current.

Close_Segment

 

Restores previous current block.

Include_Segment

Segment name

IG_VECT_ENT_INSERT entity that references the existing block.

Visibility

Visibility

Affects the visibility of entities.

Text_Alignment

Alignment

Specifies an alignment for IG_VECT_ENT_TEXT entity.

Text_Font

Mask

Name

Size

Width factor

Width scale

Extra space

Rotation

Used for creating HIG_VECT_FONT object and for some settings of IG_VECT_ENT_TEXT entity.

Circle

Start point

Middle point

End point

Center

IG_VECT_ENT_ELLIPSE entity.

 

Circular_Arc

Start point

Middle point

End point

Center

IG_VECT_ENT_ELLIPSE or IG_VECT_ENT_ARC entity.

Circular_Hord

Start point

Middle point

End point

Center

IG_VECT_ENT_ELLIPSE or IG_VECT_ENT_ARC entity.

Circular_Wedge

Start point

Middle point

End point

Center

IG_VECT_ENT_ELLIPSE or IG_VECT_ENT_ARC entity.

Ellipse

Major

Minor

Center

IG_VECT_ENT_ELLIPSE entity.

Elliptical_Arc

Major

Minor

Center

Limits (Angles)

IG_VECT_ENT_ARC entity.

Line

Points

IG_VECT_ENT_EASYLINE entity.

Polygon

Points

IG_VECT_ENT_POLYLINE entity.

Polyline

Points

IG_VECT_ENT_POLYLINE entity.

ImageGear Vector Entities Supported for Writing to DWF Format

All vector data is saved as 2D stream. 3D coordinates are projected to 2D surface during saving, according to the active view transformation.

ImageGear Entity or Object

Saved as DWF Element

IG_VECT_ENT_EASYLINE

IG_VECT_ENT_POLYLINE

IG_VECT_ENT_POLYLINEEX

IG_VECT_ENT_ARC

IG_VECT_ENT_ELLIPSE

IG_VECT_ENT_NURBS_CURVE

IG_VECT_ENT_BEZIER_CURVE

Vector Cache data is written as either WT_Polygon or WT_Polyline, depending on draw and fill attributes.

IG_VECT_ENT_NURBS_SURFACE

Mesh object of the NURBS surface is saved as several WT_Polyline objects.

IG_VECT_ENT_BEZIER_SURFACE

Mesh object of the Bezier surface is saved as several WT_Polyline objects.

IG_VECT_ENT_BLOCK

All entities in the block container are saved taking into account the block transformation.

IG_VECT_ENT_TEXT

WT_Text objects. WT_Font objects are created if necessary.

IG_VECT_ENT_INSERTION

All entities in the reverenced block container are saved taking into account the insertion and block transformation.

IG_VECT_ENT_VIEWPORT

Viewport content is saved taking into account the viewport scaling and transformation.

IG_VECT_ENT_FIGURE

Vector Cache data is written as WT_Polygon. Every internal entity of the figure is also saved as WT_Polyline.

IG_VECT_ENT_EASY_SURFACE

Mesh object of the surface is saved as several WT_Polyline objects.

IG_VECT_ENT_SHELL

Faces of the shell are saved as WT_Polyline objects.

IG_VECT_ENT_SOLID

Either WT_Polygon or WT_Polyline, depending on draw and fill attributes.

IG_VECT_ENT_GEOMETRY

WT_Polytriangle object.

See Also

ImageGear Supported File Formats Reference > DWF

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback